#include<stdio.h>
#include<math.h>
int Judgeprime(int n)
{
	int i,k;
	if(n==1)
	    return 0;
	else
	{
	    k=(int)sqrt(n);
	    for(i=1;i<=k;i++)
	    {
		    if(n%i==0)
		    break;
	    }
	    if(i>k)
	        return 1;
	    else
	        return 0;
    }
}
int main()
{
	int n,m;
	scanf("%d",&n,&m);
	if(Judgeprime(n-m)&&Judgeprime(m))
	{
		printf("%d+%d=%d",m,n-m,n);
	}
	else
	{
		printf("Please input again");
	}
}
